Manage sharing and permissions in OneDrive and SharePoint

Need to lock a document or make a document read-only? If you're the file owner, you can lock the document or make it read only. You can also see who has access, change access permissions, or simply stop sharing it. 

Note

You can't change the permission of a sharing link from edit to view or from view to edit. The way around it is to delete your sharing link and create a new one with a different permission.

What you see differs depending on whether you're signed in with a personal account or a work or school account. Select a tab below to learn more.

Stop or change sharing

Files and folders can be shared by sending someone a sharing link, or by giving them direct access to the file or folder. (People may also have access to a file or folder if they've been given access to the site itself.)

If you are the file owner, you can stop sharing the file or folder.

If someone has been given direct access, or has access through a specific people link, you can also change the sharing permissions between view and edit.

Here are the steps:

  1. Select the file or folder you want to stop sharing.
  2. Select Information Information in the upper-right corner to open the Details pane.

Note

(The Information icon is just below your profile picture. If you don't see it, make sure you only have one file or folder selected - it won't display if you have multiple items selected.)

  1. On the Details pane, under the Has Access header, you'll see the People icon, the Links icon, and/or the Email icon. These options vary depending on how you have shared the file or folder. Select Manage access and:
  • To stop sharing the file entirely, click Stop sharing.
  • To delete a sharing link, click the ⁠...⁠ next to the link, then click the X next to the link to remove it. (You'll get a prompt asking you if you're sure you want to delete the link - if so, click Delete link.)
  • To stop sharing with specific people, expand the list under a specific people link and click the X to remove someone.
  • To change permissions or stop sharing with someone who has direct access, under Direct Access, click the dropdown next to the person's name and choose the option that you want.

Tip

You can also manage a file or folder's sharing permissions through the OneDrive desktop app for Windows 10 or 11, and Mac. All you need to do is right-click the shared file or folder in your OneDrive folder on your computer, and select Share, then select More The More Options button on OneDrive.com. > Manage access, and a dialog box will open on your desktop so you can make your selections as described above in step 3.

View files and folders you’ve shared in OneDrive and SharePoint

On OneDrive.com, select Shared in the left pane, and then select Shared by me.

Learn more

Microsoft 365 advanced protection

Need more help?

Account support. For help with your Microsoft account and subscriptions, visit Account & Billing Help.

Technical support. For technical support, select Contact Microsoft Support below, enter your problem and select Get Help.

Mobile users can contact Support by opening the OneDrive app and gently shaking your device.

Community support. Communities help you ask questions, give feedback, and hear from experts with rich knowledge. Ask the Microsoft Community. Do not disclose personal or sensitive information in public forums.